package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 字典数据表
 * @TableName sys_dict_data
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Schema(title = "SysDictData",description = "添加字典数据入参模型")
public class SysDictDataUpdateDTO extends SysDictDataAddDTO{
    /**
     * 字典编码
     */
    @Schema(title = "字典数据ID")
    @NotNull(message = "字典数据ID不能为空")
    private Long dictCode;

    private static final long serialVersionUID = 1L;
}
